<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>系统登录</title>
    <link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="__PUBLIC__/static/css/style.css" rel="stylesheet">
</head>
<body class="login_bj">
  <div class="container-fluid login">
      <form action="{:U('Admin/Admin/login')}" method="POST">
          <div class="login-form row">
              <div class="login-user input-group input-group-lg col-md-12">
                  <span class="input-group-addon" id="sizing-addon1"><i class="glyphicon glyphicon-user"></i></span>
                  <input name="user_name" type="text" class="form-control" placeholder="用户名" aria-describedby="sizing-addon1">
              </div>
              <div class="login-pwd input-group input-group-lg col-md-12">
              <span class="input-group-addon" id="sizing-addon2"><i class="glyphicon glyphicon-lock"></i></span>
              <input name="user_pwd" type="password" class="form-control" placeholder="密码" aria-describedby="sizing-addon1">
          </div>
              <div class="col-lg-6">
                  <div class="input-group">
                      <input name="verify" type="text" class="form-control" placeholder="输入验证码">
                  </div><!-- /input-group -->
              </div><!-- /.col-lg-6 -->
              <div class="col-lg-6">
                  <img id="verifyImg" src="{:U('Admin/verify')}" alt="" onclick="newVerify();">
              </div>
              <div class="col-lg-6 col-md-offset-5">
                  <button type="submit" class="login-bnt btn btn-primary">登录</button>
              </div>
          </div>
      </form>
  </div>
<script src="__PUBLIC__/jquery/jquery-2.1.4.min.js"></script>
<script src="__PUBLIC__/bootstrap/js/bootstrap.min.js"></script>
  <script src="__PUBLIC__/layer/layer.js"></script>
<script src="__PUBLIC__/static/js/global.js"></script>

<script>
    function newVerify(){
         $('#verifyImg').attr('src','{$Think.WEB_PATH}/Admin/Admin/verify?&r='+Math.floor(Math.random()*100));
    }
</script>
</body>
</html>